<table width="650" border="0" cellpadding="0" cellspacing="0"
	class="medblack" align="right">
	<tr valign="top">
		<td colspan="2" rowspan="5" width="100" valign="top">
		<table width="61" height="61" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td align="center"></td>
			</tr>
			<tr>
				<td align="center"><strong> <a id='mylink'
					href=<%=url_for :controller=>'info', :action => "upload_picture",:id=>user.picture_id,:object=>0 %>
					onclick="window.open(this.href,'上传图片','height=400,width=350');return false;">更改头像</a>
				</strong></td>
			</tr>
			<tr>
				<td align="center"><strong><a
					href=<%=url_for :controller=>"info", :action=>"modify_password", :id=>user.id %>
					onclick="window.open(this.href,'修改密码','height=300,width=400');return false;">修改密码</a></strong></td>
			</tr>
		</table>
		</td>
		<td width="100"><strong>用户名：</strong></td>
		<td class="medgray" width="150"><%=h(user.name)%></td>
		<td width="100"><strong>电子邮件：</strong></td>
		<td class="medgray" width="200"><%=h(user.email)%></td>
	</tr>
	<tr>
		<td colspan="4">&nbsp;</td>
	</tr>
	<tr height="30">
		<td colspan="6" id="modifyuser">
		<div align="right"><strong><%= link_to_remote "修改用户资料>>", :update=>"modifyuser", :url=>{:controller=>"view", :action=>"modifyuser"} %></strong></div>
		</td>
	</tr>
</table>

